package com.uls.found.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.uls.found.vo.TaskCommentVo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uls.common.annotation.Excel;
import com.uls.common.core.domain.BaseEntity;

/**
 * 认领记录对象 edu_claim_record
 * 
 * @author ruoyi
 * @date 2024-10-29
 */
public class EduClaimRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 认领记录id */
    private Integer claimId;

    /** 招领记录id */
    @Excel(name = "招领记录id")
    private Integer foundId;

    /** 招领记录名称 */
    @Excel(name = "招领名称")
    private String foundname;

    public String getFoundname() {
        return foundname;
    }

    public void setFoundname(String foundname) {
        this.foundname = foundname;
    }

    /** 学生ID */
    @Excel(name = "学生ID")
    private Long studentId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }


    //是否同意vo
    private Integer agree;

    public Integer getAgree() {
        return agree;
    }

    public void setAgree(Integer agree) {
        this.agree = agree;
    }

    //批注vo
    private String comment;
    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }


    //审批过程数据列表
    private List<TaskCommentVo> taskCommentVoList;

    public List<TaskCommentVo> getTaskCommentVoList() {
        return taskCommentVoList;
    }

    public void setTaskCommentVoList(List<TaskCommentVo> taskCommentVoList) {
        this.taskCommentVoList = taskCommentVoList;
    }



    /** 招领物品描述 */
    @Excel(name = "招领物品描述")
    private String claimantDescription;

    /** 认领时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "认领时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date claimTime;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 电话联系 */
    @Excel(name = "电话联系")
    private String phone;

    /** 身份证号码 */
    @Excel(name = "身份证号码")
    private String idNumber;

    /** 物品分类 */
    @Excel(name = "物品分类")
    private Long itemCategories;

    /** 流程id */
    @Excel(name = "流程id")
    private Long flowid;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deleteBy;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    /** 删除标志（0代表存在 2代表删除） */
    private Integer delFlag;

    public void setClaimId(Integer claimId) 
    {
        this.claimId = claimId;
    }

    public Integer getClaimId() 
    {
        return claimId;
    }
    public void setFoundId(Integer foundId) 
    {
        this.foundId = foundId;
    }

    public Integer getFoundId() 
    {
        return foundId;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setClaimantDescription(String claimantDescription) 
    {
        this.claimantDescription = claimantDescription;
    }

    public String getClaimantDescription() 
    {
        return claimantDescription;
    }
    public void setClaimTime(Date claimTime) 
    {
        this.claimTime = claimTime;
    }

    public Date getClaimTime() 
    {
        return claimTime;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }
    public void setItemCategories(Long itemCategories) 
    {
        this.itemCategories = itemCategories;
    }

    public Long getItemCategories() 
    {
        return itemCategories;
    }
    public void setFlowid(Long flowid) 
    {
        this.flowid = flowid;
    }

    public Long getFlowid() 
    {
        return flowid;
    }
    public void setDeleteBy(String deleteBy) 
    {
        this.deleteBy = deleteBy;
    }

    public String getDeleteBy() 
    {
        return deleteBy;
    }
    public void setDeleteTime(Date deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime() 
    {
        return deleteTime;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("claimId", getClaimId())
            .append("foundId", getFoundId())
            .append("studentId", getStudentId())
            .append("claimantDescription", getClaimantDescription())
            .append("claimTime", getClaimTime())
            .append("status", getStatus())
            .append("phone", getPhone())
            .append("idNumber", getIdNumber())
            .append("itemCategories", getItemCategories())
            .append("flowid", getFlowid())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleteBy", getDeleteBy())
            .append("deleteTime", getDeleteTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
